package com.heima.wemedia.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WmNewsPageVO {
    @ApiModelProperty(value = "文章ID")
    private Long id;
    @ApiModelProperty(value = "作者ID")
    private Integer userId;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "类型")
    private Integer type;
    @ApiModelProperty(value = "文章所属频道ID")
    private Integer channelId;
    @ApiModelProperty(value = "文章标签最多3个 逗号分隔")
    private String labels;
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    @ApiModelProperty(value = "提交时间")
    private Date submitedTime;
    @ApiModelProperty(value = "文章状态")
    private Integer status;
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;
    @ApiModelProperty(value = "审核原因")
    private String reason;
    @ApiModelProperty(value = "文章ID")
    private Integer articleId;
    @ApiModelProperty(value = "封面图片")
    private String images;
    @ApiModelProperty(value = "上下架")
    private Boolean enable;
    @ApiModelProperty(value = "作者昵称")
    private String authorName;
}
